package com.create404.suishoupai.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.create404.suishoupai.dto.LikedPhotoRecordsDto;
import com.create404.suishoupai.entity.PhotoRecordLike;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author create404
 * @since 2021-07-17
 */
public interface IPhotoRecordLikeService extends IService<PhotoRecordLike> {
    List<PhotoRecordLike> isPhotoRecordLiked(String photoRecordId, String employeeId);

    IPage<LikedPhotoRecordsDto> getLikedPhotoRecords(Page<?> page, String employeeId);

    Wrapper<PhotoRecordLike> deletePhotoRecordLiked(String photoRecordId, String employeeId);

}
